package com.atguigu.admin;

import com.atguigu.clients.CategoryClient;
import com.atguigu.clients.ProductClient;
import com.atguigu.clients.SearchClient;
import com.atguigu.clients.UserClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ClassName:AdminApplication
 * Package:com.atguigu.admin
 * Description:
 *
 * @Author 应永豪
 * @Create 2024/4/23 9:53
 * @Version 1.0
 */
@SpringBootApplication
@MapperScan("com.atguigu.admin.mapper")
@EnableCaching
@EnableFeignClients(clients = {UserClient.class, CategoryClient.class, ProductClient.class, SearchClient.class})
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class,args);
    }
}
